package com.qidianit.mes.md.service;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.pojo.Unit;

/**
 * @Author 奇幻夜之梦
 * @Company 起点编程
 * @Description
 * @Time 2024/10/17 17:15
 */
public interface UnitService {
    MESResult selectByPage(Unit unit, Integer page, Integer limit);

    MESResult save(Unit unit);

    MESResult updateUnit(Unit unit);

    MESResult selectById(Long unitId);

    MESResult delete(Long unitId);

    MESResult deletes(String[] ids);

    MESResult listUnits();
}

